package com.ruoyi.statisticalCenter.enums;

/**
 * 结算类型
 *
 * @author ruoyi
 */
public enum ScEnterPaiGrossProfitSheetEnum {
    //    基础派费付费
    basePaiFeeAmount("basePaiFeeAmount", "金额"),
    basePaiFeeNum("basePaiFeeNum", "票数"),
    basePaiFeePrice("basePaiFeePrice", "单价"),
    //    政策互惠
    policyReciprocityAmount("policyReciprocityAmount", "金额"),
    policyReciprocityNum("policyReciprocityNum", "票数"),
    policyReciprocityPrice("policyReciprocityPrice", "单价"),
    //  错签
    wrongSignAmount("wrongSignAmount", "金额"),
    wrongSignNum("wrongSignNum", "票数"),
    wrongSignPrice("wrongSignPrice", "单价"),
    //   补签
    repairSignAmount("repairSignAmount", "金额"),
    repairSignNum("repairSignNum", "票数"),
    repairSignPrice("repairSignPrice", "单价"),
    //    补贴派费
    subsidyPaiFeePayAmount("subsidyPaiFeePayAmount", "金额"),
    subsidyPaiFeePayNum("subsidyPaiFeePayNum", "票数"),
    subsidyPaiFeePayPrice("subsidyPaiFeePayPrice", "单价"),
    //    进港操作费
    entryOperateFeeAmount("entryOperateFeeAmount", "金额"),
    entryOperateFeeNum("entryOperateFeeNum", "票数"),
    entryOperateFeePrice("entryOperateFeePrice", "单价"),
    //    特价业务付费
    specialPaymentAmount("specialPaymentAmount", "金额"),
    specialPaymentNum("specialPaymentNum", "票数"),
    specialPaymentPrice("specialPaymentPrice", "单价"),
    //    周期性派费付费
    periodicPaymentAmount("periodicPaymentAmount", "金额"),
    periodicPaymentNum("periodicPaymentNum", "票数"),
    periodicPaymentPrice("periodicPaymentPrice", "单价"),
    //    考核派费
    examinePaiFeeAmount("examinePaiFeeAmount", "金额"),
    examinePaiFeeNum("examinePaiFeeNum", "票数"),
    examinePaiFeePrice("examinePaiFeePrice", "单价"),
    //    星计划收费
    starPlanPayAmount("starPlanPayAmount", "金额"),
    starPlanPayNum("starPlanPayNum", "票数"),
    starPlanPayPrice("starPlanPayPrice", "单价"),
    //    大货派费付费
    bulkPaiFeePaymentAmount("bulkPaiFeePaymentAmount", "金额"),
    bulkPaiFeePaymentNum("bulkPaiFeePaymentNum", "票数"),
    bulkPaiFeePaymentPrice("bulkPaiFeePaymentPrice", "单价"),
    //    乡镇村业务费用
    townshipSubsidyPaymentAmount("townshipSubsidyPaymentAmount", "金额"),
    townshipSubsidyPaymentNum("townshipSubsidyPaymentNum", "票数"),
    townshipSubsidyPaymentPrice("townshipSubsidyPaymentPrice", "单价"),
    //    按需派送业务费用
    asNeedDeliveryPaymentAmount("asNeedDeliveryPaymentAmount", "金额"),
    asNeedDeliveryPaymentNum("asNeedDeliveryPaymentNum", "票数"),
    asNeedDeliveryPaymentPrice("asNeedDeliveryPaymentPrice", "单价"),
    //  航海扣款
    marineProjectPaymentAmount("marineProjectPaymentAmount", "金额"),
    marineProjectPerParcelDeduction("marineProjectPerParcelDeduction", "单票扣款"),

    //    航海通票扣款
    marineGeneralPassTicketDeduction("marineGeneralPassTicketDeduction", "扣款金额"),
    marineSingleParcelDeduction("marineSingleParcelDeduction", "单票扣款"),
    //    政策互惠扣款
    policyMutualBenefitDeduction("policyMutualBenefitDeduction", "扣款金额"),
    policyMutualBenefitPerParcelDeduction("policyMutualBenefitPerParcelDeduction", "单票扣款"),
    //    星计划扣款
    starPlanDeduction("starPlanDeduction", "扣款金额"),
    starPlanPerParcelDeduction("starPlanPerParcelDeduction", "单票扣款");

    private final String code;
    private final String info;

    ScEnterPaiGrossProfitSheetEnum(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

    public static String getValue(String code) {
        if (code == null) {
            return "";
        }
        for (ScEnterPaiGrossProfitSheetEnum value : ScEnterPaiGrossProfitSheetEnum.values()) {
            if (value.code.equals(code)) {
                return value.info;
            }
        }
        return "";
    }
    }
